// import axios from 'axios'
const axios = require('axios')


const instance = axios.create({
  // baseURL:`http://${process.env.HOST||'localhost'}:${process.env.PORT||3000}`,
  baseURL:
    process.env.NODE_ENV === "production"
          ? "https://www.07ge.com"
          : "http://127.0.0.1:3000",
  timeout:2000,
  headers:{

  }
})

module.exports = instance
// export default instance